﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data.MySqlClient;
public partial class _Default : System.Web.UI.Page
{
    MySqlDataReader mdr;

    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write("oook");
        
        MySqlConnection mc = Class1.GetConnection();
        mc.Open();
        MySqlCommand ms = new MySqlCommand("SELECT * FROM t1;", mc);
        mdr = ms.ExecuteReader();
        while (mdr.Read())
        {
            Response.Write(mdr["c2"].ToString() + "</br>");
        }
        
        
    }
    
    protected void Button1_Click1(object sender, EventArgs e)
    {
        
    }
}